//引入Vue
import Vue from 'vue'
//引入App
import App from './App.vue'
Vue.config.productionTip = false
//导入md5.js
import MD5 from "js-md5"

import axios from 'axios'
Vue.prototype.$axios = axios
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
import '../src/assets/css/public.css'
//将md5转换成vue原型：
Vue.prototype.md5 = MD5

import VueRouter from 'vue-router'

Vue.use(VueRouter)

import router from './router/index.js'


//创建vm
new Vue({
    el:'#app',
    render:h=>h(App),
    router,
})